<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<head>
<title>deleteMessage</title>
</head>
<body>
<?php
if(isset($_GET['i']))
{
	if(isset($_SESSION['user'])&&$_SESSION['user'] instanceof Admin)
	{
		$m=new Message();
		unset($m[$_GET['i']]);
		echo 'success';
	}
}
?>
return <a href="./index.html" >home</a>
</body>
